﻿<%--<%@ Register TagPrefix="ucc" TagName="imageproduct" Src="~/controls/ImageProduct.ascx" %>
<%@ Reference Control="~/controls/ImageProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="menutops" Src="~/controls/Menutop.ascx" %>
<%@ Reference Control="~/controls/Menutop.ascx" %>
<%@ Register TagPrefix="ucc" TagName="viewdetail" Src="~/controls/ViewDetail.ascx" %>
<%@ Reference Control="~/controls/ViewDetail.ascx" %>
<%@ Register TagPrefix="ucc" TagName="boxsameproduct" Src="~/controls/BoxSameProduct.ascx" %>
<%@ Reference Control="~/controls/BoxSameProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="footer" Src="~/controls/Footer.ascx" %>
<%@ Reference Control="~/controls/Footer.ascx" %>
<%@ Register TagPrefix="ucc" TagName="comment" Src="~/controls/Comment.ascx" %>
<%@ Reference Control="~/controls/Comment.ascx" %>
<%@ Register TagPrefix="ucc" TagName="descriptionproduct" Src="~/controls/DescriptionProduct.ascx" %>
<%@ Reference Control="~/controls/DescriptionProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="threenavigation" Src="~/controls/BoxThreeNavigation.ascx" %>
<%@ Reference Control="~/controls/BoxThreeNavigation.ascx" %>
<%@ Register TagPrefix="ucc" TagName="handbookshopdetail" Src="~/controls/HandbookShopDetail.ascx" %>
<%@ Reference Control="~/controls/HandbookShopDetail.ascx" %>
<%@ Register TagPrefix="ucc" TagName="sitemap" Src="~/controls/SiteMap.ascx" %>
<%@ Reference Control="~/controls/SiteMap.ascx" %>
<%@ Register TagPrefix="ucc" TagName="contact" Src="~/controls/BoxContact.ascx" %>
<%@ Reference Control="~/controls/BoxContact.ascx" %>
<%@ Register TagPrefix="ucc" TagName="emailgetnewproduct" Src="~/controls/BoxEmailGetNewProduct.ascx" %>
<%@ Reference Control="~/controls/BoxEmailGetNewProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="searchbox" Src="~/controls/SearchBox.ascx" %>
<%@ Reference Control="~/controls/SearchBox.ascx" %>
<%@ Register TagPrefix="ucc" TagName="boxlogo" Src="~/controls/BoxLogo.ascx" %>
<%@ Reference Control="~/controls/BoxLogo.ascx" %>
<%@ Register TagPrefix="ucc" TagName="boxheader" Src="~/controls/BoxHeader.ascx" %>
<%@ Reference Control="~/controls/BoxHeader.ascx" %>
<%@ Register TagPrefix="ucc" TagName="head" Src="~/controls/Head.ascx" %>
<%@ Reference Control="~/controls/Head.ascx" %>
<%@ Register TagPrefix="ucc" TagName="imageads" Src="~/Controls/BoxImageAds.ascx" %>
<%@ Reference Control="~/controls/BoxImageAds.ascx" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="SaleOnlineSystem.ProductDetail" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

            <!--------------HEAD--------------->
            <ucc:head runat="server" ID="head" />

<body>
    <form id="form1" runat="server">
        <div id="go_top">
            Back to top
        </div>

        <div id="deal">
            <!--------------Email nhận sản phẩm mới--------------->
            <ucc:emailgetnewproduct runat="server" ID="emailgetnewproduct" />
        </div>
        <div id="support_online">
            <!---------------Lien he--------------->
            <ucc:contact runat="server" ID="contact" />

        </div>
        <div id="wrapper">
            <div id="header">
                <div class="header-wrap">

                    <!------------- BOX HEADER ------------->
                    <ucc:boxheader ID="boxheader" runat="server" />

                    <div class="header-main">
                        <div class="header-main-top">
                            <ucc:boxlogo ID="logo" runat="server" />
                            <!-- Search BOX -->
                            <ucc:searchbox ID="search" runat="server" />
                            <!----------------ThreeNavigation------>
                            <ucc:threenavigation runat="server" ID="threenavigation" />

                        </div>
                        <!-------------- MenuTop -------------->
                        <ucc:menutops runat="server" ID="menutop" />


                        <!----------------SITEMAP------------------>
                        <ucc:sitemap runat="server" ID="sitemap" />

                    </div>
                </div>
                <!----------------ImageAds----------------->
                <ucc:imageads runat="server" ID="imageads" />
            </div>
            <div id="main-content">
                <div class="content">
                    <div class="main">
                        <div class="product-top">

                            <!-------------- IMAGEPRODUCT -------------->
                            <ucc:imageproduct runat="server" ID="imageproduct" />

                            <!-------------- VIEWDETAIL -------------->
                            <ucc:viewdetail runat="server" ID="viewdetail" />

                        </div>

                        <div class="more-items">
                            <!-------------- BOXSAMEPRODUCT -------------->
                            <ucc:boxsameproduct runat="server" ID="boxsameproduct" />
                        </div>

                        <!-------------- DESCRIPTONPRODUCT -------------->
                        <ucc:descriptionproduct runat="server" ID="descriptionproduct" />

                        <!-------------- COMMENT -------------->
                        <ucc:comment runat="server" ID="comment" />


                        <!----------------HANDBOOKSHOP------------->
                        <ucc:handbookshopdetail runat="server" ID="HandbookShopDetail" />

                        <div class="clearfix"></div>

                    </div>
                </div>
            </div>
            <div id="footer">
                <!--------------------------------- MENUFOOTER  ------------------------------>
                <ucc:footer runat="server" ID="footer" />
            </div>
        </div>
    </form>
</body>
</html>--%>

<%@ Register TagPrefix="ucc" TagName="imageproduct" Src="~/controls/ImageProduct.ascx" %>
<%@ Reference Control="~/controls/ImageProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="menutops" Src="~/controls/Menutop.ascx" %>
<%@ Reference Control="~/controls/Menutop.ascx" %>
<%@ Register TagPrefix="ucc" TagName="viewdetail" Src="~/controls/ViewDetail.ascx" %>
<%@ Reference Control="~/controls/ViewDetail.ascx" %>
<%@ Register TagPrefix="ucc" TagName="boxsameproduct" Src="~/controls/BoxSameProduct.ascx" %>
<%@ Reference Control="~/controls/BoxSameProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="footer" Src="~/controls/Footer.ascx" %>
<%@ Reference Control="~/controls/Footer.ascx" %>
<%@ Register TagPrefix="ucc" TagName="comment" Src="~/controls/Comment.ascx" %>
<%@ Reference Control="~/controls/Comment.ascx" %>
<%@ Register TagPrefix="ucc" TagName="descriptionproduct" Src="~/controls/DescriptionProduct.ascx" %>
<%@ Reference Control="~/controls/DescriptionProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="threenavigation" Src="~/controls/BoxThreeNavigation.ascx" %>
<%@ Reference Control="~/controls/BoxThreeNavigation.ascx" %>
<%@ Register TagPrefix="ucc" TagName="handbookshopdetail" Src="~/controls/HandbookShopDetail.ascx" %>
<%@ Reference Control="~/controls/HandbookShopDetail.ascx" %>
<%@ Register TagPrefix="ucc" TagName="sitemap" Src="~/controls/SiteMap.ascx" %>
<%@ Reference Control="~/controls/SiteMap.ascx" %>
<%@ Register TagPrefix="ucc" TagName="contact" Src="~/controls/BoxContact.ascx" %>
<%@ Reference Control="~/controls/BoxContact.ascx" %>
<%@ Register TagPrefix="ucc" TagName="emailgetnewproduct" Src="~/controls/BoxEmailGetNewProduct.ascx" %>
<%@ Reference Control="~/controls/BoxEmailGetNewProduct.ascx" %>
<%@ Register TagPrefix="ucc" TagName="searchbox" Src="~/controls/SearchBox.ascx" %>
<%@ Reference Control="~/controls/SearchBox.ascx" %>
<%@ Register TagPrefix="ucc" TagName="boxlogo" Src="~/controls/BoxLogo.ascx" %>
<%@ Reference Control="~/controls/BoxLogo.ascx" %>
<%@ Register TagPrefix="ucc" TagName="boxheader" Src="~/controls/BoxHeader.ascx" %>
<%@ Reference Control="~/controls/BoxHeader.ascx" %>
<%@ Register TagPrefix="ucc" TagName="head" Src="~/controls/Head.ascx" %>
<%@ Reference Control="~/controls/Head.ascx" %>
<%@ Register TagPrefix="ucc" TagName="imageads" Src="~/Controls/BoxImageAds.ascx" %>
<%@ Reference Control="~/controls/BoxImageAds.ascx" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="SaleOnlineSystem.ProductDetail" %>
<script type="text/javascript">
    function GetAjax() {
        $.ajax({
            type: "POST",
            url: "ProductDetail.aspx/GetData",
            data: "{}",
            contentType: "application/json;charset=utf-8",
            dataType: "json",
            success: function (msg) {
                $("#content").html(msg.d);
            },
            error: function () {
                alert("Lỗi rồi nhé");
            }
        });
    }
    $(document).ready(function () {
        $("#color").click(function () {
            GetAjax();
        });
    });
</script>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

            <!--------------HEAD--------------->
            <ucc:head runat="server" ID="head" />

<body>
    <form id="form1" runat="server">
        <div id="go_top">
            Back to top
        </div>

        <div id="deal">
            <!--------------Email nhận sản phẩm mới--------------->
            <ucc:emailgetnewproduct runat="server" ID="emailgetnewproduct" />
        </div>
        <div id="support_online">
            <!---------------Lien he--------------->
            <ucc:contact runat="server" ID="contact" />

        </div>
        <div id="wrapper">
            <div id="header">
                <div class="header-wrap">

                    <!------------- BOX HEADER ------------->
                    <ucc:boxheader ID="boxheader" runat="server" />

                    <div class="header-main">
                        <div class="header-main-top">
                            <ucc:boxlogo ID="logo" runat="server" />
                            <!-- Search BOX -->
                            <ucc:searchbox ID="search" runat="server" />
                            <!----------------ThreeNavigation------>
                            <ucc:threenavigation runat="server" ID="threenavigation" />

                        </div>
                        <!-------------- MenuTop -------------->
                        <ucc:menutops runat="server" ID="menutop" />


                        <!----------------SITEMAP------------------>
                        <ucc:sitemap runat="server" ID="sitemap" />

                    </div>
                </div>
                <!----------------ImageAds----------------->
                <ucc:imageads runat="server" ID="imageads" />
            </div>
            <div id="main-content">
                <div class="content">
                    <div class="main">
                        <div class="product-top">

                            <!-------------- IMAGEPRODUCT -------------->
                            <ucc:imageproduct runat="server" ID="imageproduct" />

                            <!-------------- VIEWDETAIL -------------->
                            <ucc:viewdetail runat="server" ID="viewdetail" />

                        </div>

                        <div class="more-items">
                            <!-------------- BOXSAMEPRODUCT -------------->
                            <ucc:boxsameproduct runat="server" ID="boxsameproduct" />
                        </div>

                        <!-------------- DESCRIPTONPRODUCT -------------->
                        <ucc:descriptionproduct runat="server" ID="descriptionproduct" />

                        <!-------------- COMMENT -------------->
                        <ucc:comment runat="server" ID="comment" />


                        <!----------------HANDBOOKSHOP------------->
                        <ucc:handbookshopdetail runat="server" ID="HandbookShopDetail" />

                        <div class="clearfix"></div>

                    </div>
                </div>
            </div>
            <div id="footer">
                <!--------------------------------- MENUFOOTER  ------------------------------>
                <ucc:footer runat="server" ID="footer1" />
            </div>
        </div>
    </form>
</body>
</html>

